<?php
/**
 * Contact Sources DropList
 * 
 * @author Xavier VILAIN
 * @package  Hive\Ressource\Source
 * @license #license-hive#
 * 
 */

// Source of the contact
use Fox\Html\DropList;
use Hive\Ressource\Source;
$sources = Fox\Dao::finder(Source\Type::className())
				->where('active = ?',array(true))
				->find();
$dp = new DropList(array('contact_source','source'),true);
$dp->options($sources,'type','label');
return $dp;
				